home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 7483 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  2.0 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news, ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 6e 6e | 74 70 64 32 2e 63 78 6f |Path: nn|tpd2.cxo|
|00000010| 2e 64 65 63 2e 63 6f 6d | 21 75 73 65 6e 65 74 0a |.dec.com|!usenet.|
|00000020| 46 72 6f 6d 3a 20 42 72 | 69 61 6e 20 48 69 62 62 |From: Br|ian Hibb|
|00000030| 65 72 74 20 3c 62 5f 68 | 69 62 62 65 72 74 40 63 |ert <b_h|ibbert@c|
|00000040| 73 63 33 32 2e 65 6e 65 | 74 2e 64 65 63 2e 63 6f |sc32.ene|t.dec.co|
|00000050| 6d 3e 0a 4e 65 77 73 67 | 72 6f 75 70 73 3a 20 63 |m>.Newsg|roups: c|
|00000060| 6f 6d 70 2e 6c 61 6e 67 | 2e 63 2b 2b 0a 53 75 62 |omp.lang|.c++.Sub|
|00000070| 6a 65 63 74 3a 20 52 65 | 3a 20 48 45 4c 50 2e 2e |ject: Re|: HELP..|
|00000080| 2e 49 20 63 61 6e 27 74 | 20 66 69 78 20 69 74 21 |.I can't| fix it!|
|00000090| 21 21 21 21 21 21 21 0a | 44 61 74 65 3a 20 32 33 |!!!!!!!.|Date: 23|
|000000a0| 20 46 65 62 20 31 39 39 | 36 20 31 35 3a 32 39 3a | Feb 199|6 15:29:|
|000000b0| 32 38 20 47 4d 54 0a 4f | 72 67 61 6e 69 7a 61 74 |28 GMT.O|rganizat|
|000000c0| 69 6f 6e 3a 20 44 69 67 | 69 74 61 6c 20 45 71 75 |ion: Dig|ital Equ|
|000000d0| 69 70 6d 65 6e 74 20 43 | 6f 72 70 6f 72 61 74 69 |ipment C|orporati|
|000000e0| 6f 6e 0a 4d 65 73 73 61 | 67 65 2d 49 44 3a 20 3c |on.Messa|ge-ID: <|
|000000f0| 34 67 6b 6d 67 6f 24 38 | 32 64 40 6e 6e 74 70 64 |4gkmgo$8|2d@nntpd|
|00000100| 32 2e 63 78 6f 2e 64 65 | 63 2e 63 6f 6d 3e 0a 52 |2.cxo.de|c.com>.R|
|00000110| 65 66 65 72 65 6e 63 65 | 73 3a 20 3c 34 67 6a 6a |eference|s: <4gjj|
|00000120| 67 65 24 66 36 6a 40 6e | 65 77 73 31 2e 75 73 61 |ge$f6j@n|ews1.usa|
|00000130| 2e 70 69 70 65 6c 69 6e | 65 2e 63 6f 6d 3e 0a 4e |.pipelin|e.com>.N|
|00000140| 4e 54 50 2d 50 6f 73 74 | 69 6e 67 2d 48 6f 73 74 |NTP-Post|ing-Host|
|00000150| 3a 20 70 65 6f 31 30 31 | 32 5f 70 6f 72 74 32 2e |: peo101|2_port2.|
|00000160| 70 65 6f 2e 64 65 63 2e | 63 6f 6d 0a 4d 69 6d 65 |peo.dec.|com.Mime|
|00000170| 2d 56 65 72 73 69 6f 6e | 3a 20 31 2e 30 0a 43 6f |-Version|: 1.0.Co|
|00000180| 6e 74 65 6e 74 2d 54 79 | 70 65 3a 20 74 65 78 74 |ntent-Ty|pe: text|
|00000190| 2f 70 6c 61 69 6e 3b 20 | 63 68 61 72 73 65 74 3d |/plain; |charset=|
|000001a0| 75 73 2d 61 73 63 69 69 | 0a 43 6f 6e 74 65 6e 74 |us-ascii|.Content|
|000001b0| 2d 54 72 61 6e 73 66 65 | 72 2d 45 6e 63 6f 64 69 |-Transfe|r-Encodi|
|000001c0| 6e 67 3a 20 37 62 69 74 | 0a 58 2d 4d 61 69 6c 65 |ng: 7bit|.X-Maile|
|000001d0| 72 3a 20 4d 6f 7a 69 6c | 6c 61 20 31 2e 32 4e 20 |r: Mozil|la 1.2N |
|000001e0| 28 57 69 6e 64 6f 77 73 | 3b 20 49 3b 20 31 36 62 |(Windows|; I; 16b|
|000001f0| 69 74 29 0a 54 6f 3a 20 | 6d 65 6c 6c 6f 77 31 40 |it).To: |mellow1@|
|00000200| 75 73 61 2e 70 69 70 65 | 6c 69 6e 65 2e 63 6f 6d |usa.pipe|line.com|
|00000210| 0a 0a 6d 65 6c 6c 6f 77 | 31 40 75 73 61 2e 70 69 |..mellow|1@usa.pi|
|00000220| 70 65 6c 69 6e 65 2e 63 | 6f 6d 28 74 6f 6e 79 20 |peline.c|om(tony |
|00000230| 68 6f 6e 65 72 29 20 77 | 72 6f 74 65 3a 0a 2d 2d |honer) w|rote:.--|
|00000240| 73 6e 69 70 2d 2d 0a 3e | 49 20 67 65 74 20 61 3a |snip--.>|I get a:|
|00000250| 20 0a 3e 20 0a 3e 20 20 | 20 20 20 44 55 50 4c 49 | .> .> | DUPLI|
|00000260| 43 41 54 45 20 26 4f 53 | 54 52 45 41 4d 20 43 48 |CATE &OS|TREAM CH|
|00000270| 41 52 20 49 4e 20 46 49 | 4c 45 20 40 23 25 24 40 |AR IN FI|LE @#%$@|
|00000280| 20 0a 3e 20 20 20 20 20 | 44 55 50 4c 49 43 41 54 | .> |DUPLICAT|
|00000290| 45 20 26 4f 53 54 52 45 | 41 4d 20 4e 55 4d 42 45 |E &OSTRE|AM NUMBE|
|000002a0| 52 20 49 4e 20 46 49 4c | 45 20 40 23 25 40 20 0a |R IN FIL|E @#%@ .|
|000002b0| 3e 20 0a 3e 20 20 65 63 | 74 2c 20 20 20 20 20 0a |> .> ec|t, .|
|000002c0| 3e 20 0a 3e 49 20 67 65 | 74 20 74 68 69 73 20 65 |> .>I ge|t this e|
|000002d0| 76 65 72 79 20 74 69 6d | 65 2e 20 20 49 20 74 72 |very tim|e. I tr|
|000002e0| 69 65 64 20 6e 6f 74 20 | 63 61 6c 6c 69 6e 67 20 |ied not |calling |
|000002f0| 61 6e 79 20 6f 66 20 74 | 68 65 20 72 6f 75 74 69 |any of t|he routi|
|00000300| 6e 65 73 20 66 72 6f 6d | 20 6d 79 20 0a 3e 6d 61 |nes from| my .>ma|
|00000310| 69 6e 20 6d 6f 64 75 6c | 65 2c 20 61 6c 6c 20 49 |in modul|e, all I|
|00000320| 20 64 69 64 20 77 61 73 | 20 64 65 63 6c 61 72 65 | did was| declare|
|00000330| 20 61 20 76 61 72 69 61 | 62 6c 65 20 6f 66 20 74 | a varia|ble of t|
|00000340| 79 70 65 28 64 65 66 69 | 6e 65 64 20 69 6e 20 68 |ype(defi|ned in h|
|00000350| 65 61 64 65 72 0a 20 20 | 20 20 20 20 20 20 20 20 |eader. | |
|00000360| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000370| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000380| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000390| 20 20 20 20 20 20 20 20 | 20 5e 5e 5e 0a 3e 66 69 | | ^^^.>fi|
|000003a0| 6c 65 29 20 61 6e 64 20 | 74 68 65 6e 20 63 61 6c |le) and |then cal|
|000003b0| 6c 65 64 20 6f 6e 20 61 | 20 6d 61 69 6e 20 72 6f |led on a| main ro|
|000003c0| 75 74 69 6e 65 20 69 6e | 20 6d 79 20 66 75 6e 63 |utine in| my func|
|000003d0| 74 69 6f 6e 20 66 69 6c | 65 2e 20 0a 2d 2d 20 53 |tion fil|e. .-- S|
|000003e0| 6e 69 70 20 2d 2d 2d 0a | 0a 20 20 20 54 68 69 73 |nip ---.|. This|
|000003f0| 20 69 73 20 79 6f 75 72 | 20 70 72 6f 62 6c 65 6d | is your| problem|
|00000400| 2e 20 20 49 27 6d 20 73 | 75 72 70 72 69 73 65 64 |. I'm s|urprised|
|00000410| 20 79 6f 75 72 20 63 6f | 6d 70 69 6c 65 72 20 64 | your co|mpiler d|
|00000420| 69 64 6e 27 74 20 67 65 | 6e 65 72 61 74 65 20 0a |idn't ge|nerate .|
|00000430| 61 6e 79 20 6d 6f 72 65 | 20 73 70 65 63 69 66 69 |any more| specifi|
|00000440| 63 20 77 61 72 6e 69 6e | 67 73 20 61 62 6f 75 74 |c warnin|gs about|
|00000450| 20 61 20 76 61 72 61 69 | 62 6c 65 20 64 65 63 6c | a varai|ble decl|
|00000460| 61 72 65 64 20 69 6e 20 | 61 20 68 65 61 64 65 72 |ared in |a header|
|00000470| 20 66 69 6c 65 2e 0a 41 | 6e 79 77 61 79 2c 20 77 | file..A|nyway, w|
|00000480| 68 61 74 20 69 73 20 68 | 61 70 70 65 6e 69 6e 67 |hat is h|appening|
|00000490| 20 69 73 20 69 6e 20 45 | 41 43 48 20 6d 6f 64 75 | is in E|ACH modu|
|000004a0| 6c 65 20 74 68 61 74 20 | 69 6e 63 6c 75 64 65 73 |le that |includes|
|000004b0| 20 74 68 65 20 68 65 61 | 64 65 72 20 79 6f 75 20 | the hea|der you |
|000004c0| 0a 61 72 65 20 64 65 66 | 69 6e 69 6e 67 20 67 6c |.are def|ining gl|
|000004d0| 6f 62 61 6c 20 76 61 72 | 61 69 61 62 6c 65 73 20 |obal var|aiables |
|000004e0| 6f 66 20 74 68 65 20 73 | 61 6d 65 20 6e 61 6d 65 |of the s|ame name|
|000004f0| 20 61 6e 64 20 74 79 70 | 65 2e 20 20 57 68 65 6e | and typ|e. When|
|00000500| 20 74 68 65 20 0a 6c 69 | 6e 6b 65 72 20 74 72 69 | the .li|nker tri|
|00000510| 65 73 20 74 6f 20 70 75 | 74 20 74 68 65 20 6f 62 |es to pu|t the ob|
|00000520| 6a 65 63 74 20 66 69 6c | 65 73 20 74 6f 67 65 74 |ject fil|es toget|
|00000530| 68 65 72 20 69 74 20 63 | 61 6e 27 74 20 62 65 63 |her it c|an't bec|
|00000540| 61 75 73 65 20 74 68 65 | 72 65 20 69 73 0a 6d 6f |ause the|re is.mo|
|00000550| 72 65 20 74 68 61 6e 20 | 31 20 6f 62 6a 65 63 74 |re than |1 object|
|00000560| 20 6f 66 20 74 68 65 20 | 73 61 6d 65 20 6e 61 6d | of the |same nam|
|00000570| 65 2e 20 20 54 68 65 20 | 6c 69 6e 6b 65 72 20 64 |e. The |linker d|
|00000580| 6f 65 73 6e 27 74 20 6b | 6e 6f 77 20 57 48 49 43 |oesn't k|now WHIC|
|00000590| 48 0a 43 48 41 52 20 6f | 72 20 4e 55 4d 42 45 52 |H.CHAR o|r NUMBER|
|000005a0| 20 6f 62 6a 65 63 74 20 | 79 6f 75 72 20 63 6f 64 | object |your cod|
|000005b0| 65 20 69 73 20 72 65 66 | 65 72 69 6e 67 20 74 6f |e is ref|ering to|
|000005c0| 20 73 6f 20 69 74 20 67 | 65 6e 65 72 61 74 65 73 | so it g|enerates|
|000005d0| 20 74 68 65 20 0a 65 72 | 72 6f 72 73 2e 0a 0a 20 | the .er|rors... |
|000005e0| 20 20 54 6f 20 66 69 78 | 20 69 74 20 79 6f 75 20 | To fix| it you |
|000005f0| 6e 65 65 64 20 74 6f 20 | 68 61 76 65 20 74 68 65 |need to |have the|
|00000600| 20 76 61 72 69 61 62 6c | 65 20 64 65 63 6c 61 72 | variabl|e declar|
|00000610| 65 64 20 69 6e 20 61 20 | 73 69 6e 67 6c 65 20 0a |ed in a |single .|
|00000620| 6d 6f 64 75 6c 65 20 66 | 69 6c 65 2e 20 20 59 6f |module f|ile. Yo|
|00000630| 75 20 73 68 6f 75 6c 64 | 20 61 6c 73 6f 20 63 6f |u should| also co|
|00000640| 6e 73 69 64 65 72 20 67 | 65 74 74 69 6e 67 20 72 |nsider g|etting r|
|00000650| 69 64 20 6f 66 20 74 68 | 65 20 67 6c 6f 62 61 6c |id of th|e global|
|00000660| 20 6f 62 6a 65 63 74 73 | 20 0a 61 6e 64 20 70 61 | objects| .and pa|
|00000670| 73 73 69 6e 67 20 74 68 | 65 20 6f 62 6a 65 63 74 |ssing th|e object|
|00000680| 73 20 74 6f 20 61 6e 79 | 20 66 75 6e 63 74 69 6f |s to any| functio|
|00000690| 6e 20 74 68 61 74 20 75 | 73 65 73 20 74 68 65 6d |n that u|ses them|
|000006a0| 20 61 73 20 61 20 70 61 | 72 61 6d 65 74 65 72 2e | as a pa|rameter.|
|000006b0| 0a 49 20 79 6f 75 20 4d | 55 53 54 20 75 73 65 20 |.I you M|UST use |
|000006c0| 67 6c 6f 62 61 6c 20 6f | 62 6a 65 63 74 2c 20 64 |global o|bject, d|
|000006d0| 65 66 69 6e 65 20 74 68 | 65 6d 20 69 6e 20 31 20 |efine th|em in 1 |
|000006e0| 6d 6f 64 75 6c 65 20 61 | 6e 64 20 64 65 63 6c 61 |module a|nd decla|
|000006f0| 72 65 20 74 68 65 6d 20 | 61 73 20 0a 65 78 74 65 |re them |as .exte|
|00000700| 72 6e 61 6c 20 76 61 72 | 69 61 62 6c 65 73 20 69 |rnal var|iables i|
|00000710| 6e 20 74 68 65 20 6f 74 | 68 65 72 20 6d 6f 64 75 |n the ot|her modu|
|00000720| 6c 65 73 20 74 68 61 74 | 20 61 63 63 65 73 73 20 |les that| access |
|00000730| 74 68 65 6d 2e 0a 0a 0a | 0a 2d 2d 20 0a 2a 2a 2a |them....|.-- .***|
|00000740| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000750| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000760| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 0a 42 72 69 |********|****.Bri|
|00000770| 61 6e 20 48 69 62 62 65 | 72 74 20 20 62 5f 68 69 |an Hibbe|rt b_hi|
|00000780| 62 62 65 72 74 40 63 73 | 63 33 32 2e 65 6e 65 74 |bbert@cs|c32.enet|
|00000790| 2e 64 65 63 2e 63 6f 6d | 0a 44 69 67 69 74 61 6c |.dec.com|.Digital|
|000007a0| 20 45 71 75 69 70 6d 65 | 6e 74 20 43 6f 72 70 6f | Equipme|nt Corpo|
|000007b0| 72 61 74 69 6f 6e 0a 41 | 6c 6c 20 6f 70 69 6e 69 |ration.A|ll opini|
|000007c0| 6f 6e 73 20 65 78 70 72 | 65 73 73 65 64 20 61 72 |ons expr|essed ar|
|000007d0| 65 20 6d 79 20 6f 77 6e | 20 61 6e 64 20 73 68 6f |e my own| and sho|
|000007e0| 75 6c 64 0a 6e 6f 74 20 | 62 65 20 61 73 73 75 6d |uld.not |be assum|
|000007f0| 65 64 20 74 6f 20 62 65 | 20 74 68 65 20 6f 70 69 |ed to be| the opi|
|00000800| 6e 69 6f 6e 20 6f 66 20 | 6d 79 20 65 6d 70 6c 6f |nion of |my emplo|
|00000810| 79 65 72 0a 0a 0a | |yer... | |
+--------+-------------------------+-------------------------+--------+--------+